<?php

class Application_Form_Admin extends Zend_Form
{

    public function init()
    {
        // Set the method for the display form to POST
        $this->setMethod('post');

        // Add an email element
        $this->addElement('text', 'emso', array(
            'label'      => 'EMSO',
            'required'   => true,
            'filters'    => array('StringTrim'),
            'class'      => 'form-control'
        ));

        // Add the comment element
        $this->addElement('password', 'geslo', array(
            'label'      => 'Geslo',
            'required'   => true,
            'class'      => 'form-control'
        ));

        // Add the submit button
        $this->addElement('submit', 'submit', array(
            'label'    => 'Login',
            'class'      => 'form-control'
        ));

        $this->setAttrib('class', 'form-group');
        $this->setAttrib('id', 'admin-login-form');
    }


}

